<div class="block list-form">
	<div class="block-title"><?=$block_title?></div>
	<form action="<?php echo $this->createUrl('payment/markRequest', array('status' => '1'))?>" method="post">
		<?php $this->widget('zii.widgets.grid.CGridView', array(
			'id'=>'payment-request-grid',
			'dataProvider'=>$dataProvider,
			'columns'=>array(
				/*
				array(
					'type' => 'raw',
					'name' => "选择",
					'value' => 'CHtml::checkbox("requests[]", null, array("value" => $data->payment_request_id))',
				),
				*/
				array('name' => '加盟账号', 'value' => '$data->owner_id'),
				array('name' => '金额(仅作参考)', 'value' => '"\$".$data->amount'),
				array('name' => '请求日期', 'value' => '$data->adddate'),
				array('name' => '操作', 'value' => '"<a href=\'/index.php/admin/payment/payForRequest/owner_id/{$data->owner_id}/request_id/{$data->payment_request_id}\'>付款</a>"', "type" => "raw")
			),
			
		)); ?>
		<!-- 
		<div class="op-list">
			<input type="submit" class="op-btn" value="标记已付" />
		</div>
		 -->

	</form>
	<!-- <p>&nbsp;&nbsp;&nbsp;&nbsp;回报比率=订单额/已付款 </p> -->
</div>